﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020002DB RID: 731
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChooseBoxingClubResonanceScRsp : IMessage<ChooseBoxingClubResonanceScRsp>, IMessage, IEquatable<ChooseBoxingClubResonanceScRsp>, IDeepCloneable<ChooseBoxingClubResonanceScRsp>, IBufferMessage
	{
		// Token: 0x17000972 RID: 2418
		// (get) Token: 0x0600209E RID: 8350 RVA: 0x0005C6AB File Offset: 0x0005A8AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChooseBoxingClubResonanceScRsp> Parser
		{
			get
			{
				return ChooseBoxingClubResonanceScRsp._parser;
			}
		}

		// Token: 0x17000973 RID: 2419
		// (get) Token: 0x0600209F RID: 8351 RVA: 0x0005C6B2 File Offset: 0x0005A8B2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChooseBoxingClubResonanceScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000974 RID: 2420
		// (get) Token: 0x060020A0 RID: 8352 RVA: 0x0005C6C4 File Offset: 0x0005A8C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChooseBoxingClubResonanceScRsp.Descriptor;
			}
		}

		// Token: 0x060020A1 RID: 8353 RVA: 0x0005C6CB File Offset: 0x0005A8CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChooseBoxingClubResonanceScRsp()
		{
		}

		// Token: 0x060020A2 RID: 8354 RVA: 0x0005C6D4 File Offset: 0x0005A8D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChooseBoxingClubResonanceScRsp(ChooseBoxingClubResonanceScRsp other) : this()
		{
			this.aKFANIJHPCN_ = ((other.aKFANIJHPCN_ != null) ? other.aKFANIJHPCN_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060020A3 RID: 8355 RVA: 0x0005C720 File Offset: 0x0005A920
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChooseBoxingClubResonanceScRsp Clone()
		{
			return new ChooseBoxingClubResonanceScRsp(this);
		}

		// Token: 0x17000975 RID: 2421
		// (get) Token: 0x060020A4 RID: 8356 RVA: 0x0005C728 File Offset: 0x0005A928
		// (set) Token: 0x060020A5 RID: 8357 RVA: 0x0005C730 File Offset: 0x0005A930
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HKFBMLKMOMJ AKFANIJHPCN
		{
			get
			{
				return this.aKFANIJHPCN_;
			}
			set
			{
				this.aKFANIJHPCN_ = value;
			}
		}

		// Token: 0x17000976 RID: 2422
		// (get) Token: 0x060020A6 RID: 8358 RVA: 0x0005C739 File Offset: 0x0005A939
		// (set) Token: 0x060020A7 RID: 8359 RVA: 0x0005C741 File Offset: 0x0005A941
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x060020A8 RID: 8360 RVA: 0x0005C74A File Offset: 0x0005A94A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChooseBoxingClubResonanceScRsp);
		}

		// Token: 0x060020A9 RID: 8361 RVA: 0x0005C758 File Offset: 0x0005A958
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChooseBoxingClubResonanceScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.AKFANIJHPCN, other.AKFANIJHPCN) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060020AA RID: 8362 RVA: 0x0005C7A8 File Offset: 0x0005A9A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.aKFANIJHPCN_ != null)
			{
				num ^= this.AKFANIJHPCN.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060020AB RID: 8363 RVA: 0x0005C7FD File Offset: 0x0005A9FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060020AC RID: 8364 RVA: 0x0005C805 File Offset: 0x0005AA05
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060020AD RID: 8365 RVA: 0x0005C810 File Offset: 0x0005AA10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.aKFANIJHPCN_ != null)
			{
				output.WriteRawTag(114);
				output.WriteMessage(this.AKFANIJHPCN);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060020AE RID: 8366 RVA: 0x0005C86C File Offset: 0x0005AA6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.aKFANIJHPCN_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.AKFANIJHPCN);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060020AF RID: 8367 RVA: 0x0005C8C4 File Offset: 0x0005AAC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChooseBoxingClubResonanceScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.aKFANIJHPCN_ != null)
			{
				if (this.aKFANIJHPCN_ == null)
				{
					this.AKFANIJHPCN = new HKFBMLKMOMJ();
				}
				this.AKFANIJHPCN.MergeFrom(other.AKFANIJHPCN);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060020B0 RID: 8368 RVA: 0x0005C92C File Offset: 0x0005AB2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060020B1 RID: 8369 RVA: 0x0005C938 File Offset: 0x0005AB38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 114U)
				{
					if (num != 120U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.aKFANIJHPCN_ == null)
					{
						this.AKFANIJHPCN = new HKFBMLKMOMJ();
					}
					input.ReadMessage(this.AKFANIJHPCN);
				}
			}
		}

		// Token: 0x04000D59 RID: 3417
		private static readonly MessageParser<ChooseBoxingClubResonanceScRsp> _parser = new MessageParser<ChooseBoxingClubResonanceScRsp>(() => new ChooseBoxingClubResonanceScRsp());

		// Token: 0x04000D5A RID: 3418
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000D5B RID: 3419
		public const int AKFANIJHPCNFieldNumber = 14;

		// Token: 0x04000D5C RID: 3420
		private HKFBMLKMOMJ aKFANIJHPCN_;

		// Token: 0x04000D5D RID: 3421
		public const int RetcodeFieldNumber = 15;

		// Token: 0x04000D5E RID: 3422
		private uint retcode_;
	}
}
